
TopPaneStatus ={
		score: '',
		blood: '',
		enemyLeft: '',
		note: '',
		noteId: 0,
		updateScore: function(){
			if(this.score == ''){
			 this.score = document.getElementById("scoreValue");
			}
			PlayMan.score += 100;
			this.score.innerHTML = PlayMan.score;
			if(this.enemyLeft == ''){
				this.enemyLeft = document.getElementById("enemyLeftValue");
			}
			this.enemyLeft.innerHTML = Enemy.enemyList.length;
		},
		
		updateBood: function(){
			if(this.blood == ''){
				this.blood = document.getElementById("bloodValue");
			}
			PlayMan.blood -= 1;
			this.blood.innerHTML= PlayMan.blood;
		},
		
		showNote: function(noteStr){
			this.noteId += 1;
			if(this.note == ''){
				this.note = document.getElementById("goodNote");
			}
			this.note.innerHTML = noteStr;
			setInterval("TopPaneStatus.hideNote()", 5000);
		},
		
		hideNote: function(){
			if(this.noteId > 0){
				this.noteId -= 1;
			}
			if(this.noteId == 0){
				if(this.note == ''){
					this.note = document.getElementById("goodNote");
				}
				this.note.innerHTML = "";
			}
		}
		
}